
#ifndef _MEMBER_BBuffer_H_
#define _MEMBER_BBuffer_H_

#include <BBuffer>
#include <BByteArray>

#define buffer_member(buffer)		((member_BBuffer*)((BBuffer*)buffer)->_ptr)

namespace BWE
{
	class member_BBuffer
	{
	public:
		member_BBuffer(BBuffer* buffer);
		~member_BBuffer();
		
		BBuffer*		boss;
		BByteArray		bytes;
		int				offset;
	};
}

#endif
